<template>
  <div class="roles_root">
    <template>
      <el-carousel :interval="4000" type="card" height="500px">
        <el-carousel-item v-for="item in 6" :key="item">
        </el-carousel-item>
      </el-carousel>
    </template>
              <h2>welcome</h2>
  </div>
</template>

<script>
export default {
  name: "login",
};
</script>

<style lang="less" scoped>
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }
  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
</style>>
